#ifndef _SCHEDULER_TASK_H
#define _SCHEDULER_TASK_H
#include "stm32f4xx_hal.h"
#include "main.h"
void Loop_100Hz(void);
void Loop_25Hz(void);
void Loop_10Hz(void);
typedef struct
{
	void (*task_fuc)(void);
	uint16_t rate_hz;
	uint16_t last_rate;
	uint16_t interval_tick;
}scheduler_t;
extern volatile int time_tick_1ms;
void Scheduler_Setup(void);
void Scheduler_Run(void);
#endif


